home *** CD-ROM | disk | FTP | other *** search
- from JascApp import *
-
- def ScriptProperties():
- return {
- 'Author': 'Kris Zaklika',
- 'Copyright': 'Copyright (C) 2002-2003, Jasc Software Inc., All Rights Reserved.',
- 'Description': 'The effect of looking through a green glass bottle',
- 'Host': 'Paint Shop Pro',
- 'Host Version': '8.00'
- }
-
- def Preset_MagnifyingLens():
- return {
- 'Bound': (0.2525,0.0816667,0.765,0.923333),
- 'Darkness': 34,
- 'Defocus': 10,
- 'Frame': {
- 'FrameColor': (19,195,60),
- 'Material': App.Constants.LensFrameMaterial.ShinyBluePlastic,
- 'Style': App.Constants.LensFrameShape.Circular,
- 'Thickness': 2
- },
- 'Illumination': {
- 'LightList': [{
- 'LightColor': (64,64,64),
- 'LightDirection': (-0.3423,-0.533,0.3946),
- 'HighlightSize': 54
- },{
- 'LightColor': (65,65,65),
- 'LightDirection': (0.89735,0.0573503,-0.437577),
- 'HighlightSize': 13
- }],
- 'MaxAmbience': 94,
- 'MinAmbience': 0
- },
- 'LensSurface': {
- 'EnvironmentMap': {
- 'Active': App.Constants.Boolean.false
- },
- 'Gloss': 53,
- 'Magnification': 25,
- 'LensMaterial': {
- 'Color': (16,136,70),
- 'Pattern': None,
- 'Gradient': None,
- 'Texture': None
- },
- 'LensOpacity': 70,
- 'Refraction': 74,
- 'ShapeType': App.Constants.LensShape.VCylindrical,
- 'Shininess': 24
- }
- }
-
- def Do(Environment):
- App.Do( Environment, 'MagnifyingLens', Preset_MagnifyingLens())
-
-